package router

import (
	"api/internal/api"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	router := gin.Default()
	router.POST("/shopAdd", api.ShopAdd)
	router.POST("/orderAdd", api.OrderAdd)
	router.POST("/pay", api.OrderPayCallback)
	return router
}
